package com.fly.monitor.core.enums;

/**
 * @author Mr.Fu
 * @date 2022/11/26 下午9:48
 */
public enum TraceKey {

    /**
     * LOGGERTRACE-TRACE_ID
     */
    TRACE_ID("LOGGERTRACE", "TRACE_ID"),
    /**
     * LOGGERSPAN-SPAN_ID
     */
    SPAN_ID("LOGGERSPAN", "SPAN_ID"),
    /**
     * LOGGERLOGIC-LOGIC_ID
     */
    LOGIC_ID("LOGGERLOGIC", "LOGIC_ID");

    private final String key;
    private final String desc;

    TraceKey(String key, String desc) {
        this.key = key;
        this.desc = desc;
    }

    public String getKey() {
        return key;
    }

    public String getDesc() {
        return desc;
    }
}
